package com.wanmait.movie.controller;

import com.wanmait.movie.service.MallService;
import com.wanmait.movie.util.AjaxResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * ClassName: ManageMallController
 * Package: com.wanmait.movie.controller
 * Description:
 *
 * @Author Fengxd
 * @Create 2023/12/16 12:27
 * @Version 1.0
 */
@RestController
@RequestMapping("manage/mall")
public class ManageMallController {
    @Resource
    private MallService mallService;
    @GetMapping("getMallInfo")
    public AjaxResult getMallInfo() {
        return AjaxResult.success(mallService.getMallInfo());
    }
}
